<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>无标题文档</title>
  <link href="css/common.css" rel="stylesheet" type="text/css" />
  <link href="css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="wrap">
  <!-- main begin-->
  <div class="main">
    <div class="sidebarg fnone">
      <form action="/updatePassword" method="post" >
        <div class="login">
          <dl>
<!--            <span>-->
<!--               <dt><h1>忘记密码？</h1></dt>-->
<!--               <span th:if="${errorMsg != null}">-->
<!--	    	<h1 style="" th:text="${errorMsg}"></h1>-->
<!--	        </span>-->
<!--            </span>-->


            <dt><h1>忘记密码？</h1></dt>
            <dd><label for="name">用户名：</label><input name="username" type="text" class="inputh" placeholder="常用邮箱"  id="name"/></dd>
            <dd><label for="password">新密码：</label><input name="userpassword" type="text" class="inputh" placeholder="密码"  id="password"/></dd>
            <dd><label for="newpassword">确认密码：</label><input name="newuserpassword" type="text" class="inputh" placeholder="确认密码"  id="newpassword"/></dd>
            <dd>
              <label class="lf" for="passwords">验证码：</label>
              <input name="checkCode" type="text" class="inputh inputs lf" placeholder="验证码"  id="passwords"/>
              <span class="wordp lf"> <img th:src="@{/getCode}" onclick="this.src='getCode?time='+new Date().getTime()" width="96" height="27" alt="" /></span>
              <span class="lf"><a href="" title="">重新发送</a></span>
            </dd>

            <dd class="buttom">
              <input name="" onclick="location='/login'"  value="返回登录" class="spbg buttombg buttombgs f14 lf" />
              <input   type="submit" value="确认修改" class="spbg buttombg buttombgs f14 lf" />
              <span style="color: red;font-size: 18px;font-weight: bold;" th:text="${errorMsg}"></span>
              <div class="cl"></div>
            </dd>

          </dl>
        </div>
      </form>
    </div>
    <div class="cl"></div>
  </div>
  <!-- main end-->

  <!-- footer begin-->
</div>
<!--footer end-->

</div>


</body>

</html>
